package com.scpii.universal.service;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.scpii.universal.hibernate.dao.BaseDao;
import com.scpii.universal.hibernate.entity.AppIconTab;
import com.scpii.universal.hibernate.intface.BaseInterface;
import com.scpii.universal.util.SpringBeanFactory;

public class AppIconTabService implements BaseInterface<AppIconTab> {
	private static final Logger log = LoggerFactory.getLogger(AppIconTabService.class);
//	private BaseDao<AppIconTab> appIconTabDao = SpringBeanFactory.appIconTabDao;
	private BaseDao<AppIconTab> appIconTabDao;
	public AppIconTab get(Integer id) throws Exception {
		return appIconTabDao.get(id);
	}

	public List<AppIconTab> getAll() throws Exception {
		return appIconTabDao.getAll();
	}

	public AppIconTab get(String propertyName, Object value) throws Exception {
		return null;
	}

	public List<AppIconTab> getList(String propertyName, Object value)
			throws Exception {
		return null;
	}

	public Long getTotalCount() throws Exception {
		return null;
	}

	public void save(AppIconTab obj) throws Exception {
		
	}

	public void update(AppIconTab obj) throws Exception {

	}

	public void delete(AppIconTab obj) throws Exception {

	}

	public void delete(Integer id) throws Exception {

	}

	public List<AppIconTab> hqlGetList(String hql, Map<String, Object> argsMap)
			throws Exception {
		return appIconTabDao.hqlGetList(hql, argsMap);
	}

	public void hqlUpdate(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		appIconTabDao.hqlUpdate(namedHqlQuery, argsMap);
	}

	public Long hqlGetNums(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		return appIconTabDao.hqlGetNums(namedHqlQuery, argsMap);
	}

	public List<AppIconTab> sqlGetList(String sqls, Map<String, Object> argsMap)
			throws Exception {

		return appIconTabDao.sqlGetList(sqls, argsMap);
	}

	public void sqlUpdate(String sqls, Map<String, Object> argsMap)
			throws Exception {
		appIconTabDao.sqlUpdate(sqls, argsMap);
	}

	public Long sqlGetNum(String sqls, Map<String, Object> argsMap)
			throws Exception {
		return appIconTabDao.sqlGetNum(sqls, argsMap);
	}

	//Setter
	public void setAppIconTabDao(BaseDao<AppIconTab> appIconTabDao) {
		this.appIconTabDao = appIconTabDao;
	}

}